﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.Domain.Entities
{
    public class EDtSourceColumn
    {
        public Guid Id { get; set; }
        public Guid DtSerId { get; set; }

        public Guid DtSourceId { get; set; }

        public string Name { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public string DataType { get; set; }

        /// <summary>
        /// 存储值存放的地址，
        /// 如果是对象的属性，那么存属性名称。
        /// 如果是datatable，存列名。
        /// 如果是XmlNode，存xpath
        /// </summary>
        public string ValuePath { get; set; }

        public string Description { get; set; }

        public int Index { get; set; }
    }
}
